#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#if 0
#include "wrapperjson.h"
#include "cmd.h"
#include "xml_conf.h"
#endif
int main(int argc, char *argv[])
{
#if 0    
	  char buf[8192] = {0};
	  char intbuf[8192] = {0};
	  int len = 0;
      msgConversion(CMD_CTRL, CT_RESRART, NULL, buf,  &len);
      msgConversion(CMD_CTRL, CT_SLEEP, NULL, buf,  &len);
      msgConversion(CMD_CTRL, CT_WAKEUP, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_SMS_OFF, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_SMS_ON, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_SMS_SEND, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_SRV_UPDATA_OFF, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_SRV_UPDATA_ON, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_AIR_SNIFFER_OFF,NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_AIR_SNIFFER_ON, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_TIME_SYNC, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_PA_PW_OFF, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_PA_PW_ON, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_RUNSTATS_ON, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_RUNSTATS_OFF, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_RESETTOFACTORY, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_SNIFFER, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_SMS_MAIN_SWITCH, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_CLEAN_DATA, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_SET_BLACKLIST_ON, NULL, buf,  &len);
	  msgConversion(CMD_CTRL, CT_SET_BLACKLIST_OFF, NULL, buf,  &len);
      int cell = 1;
      msgConversion(CMD_CTRL, CT_WIRELISS_ON, (I8 *)&cell, buf,  &len);
      msgConversion(CMD_CTRL, CT_WIRELISS_OFF, (I8 *)&cell, buf,  &len);
      msgConversion(CMD_CTRL, CT_BBU_RESTART, (I8 *)&cell, buf,  &len);
      WIRELESS_INFO info;
      memset(&info, 0, sizeof(WIRELESS_INFO));
      info.wirelessSupported[0]='1'; 
      strcpy(info.capLte.lte[0].band, "39");
      strcpy(info.capLte.lte[0].pci, "123");
      strcpy(info.capLte.lte[0].plmnid, "46000");
      strcpy(info.capLte.lte[0].ul_earfcn, "37900");
      strcpy(info.capLte.lte[0].dl_earfcn, "37900");
      msgConversion(CMD_CONFIG, CFG_WIRELESS, (I8 *)&info, buf, &len); 
#endif
    return 0;
}
